<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>文章新增页</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="../../js/layui/css/layui.css" media="all" />
    <link href="../../js/ueditor/themes/default/css/ueditor.css" type="text/css" rel="stylesheet">
    <link rel="stylesheet" href="../../css/public.css" media="all" />
</head>
<body class="childrenBody">
    <form class="layui-form">
        <input type="hidden" qs-name="id" class="id">
        <div class="layui-form-item">
            <label class="layui-form-label">标题</label>
            <div class="layui-input-block">
                <input type="text" required lay-verify="required" placeholder="请输入文章标题"
                       autocomplete="off" qs-name="title" class="layui-input title">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">摘要</label>
            <div class="layui-input-block">
                <textarea type="text" required lay-verify="required" placeholder="请输入文章摘要"
                       autocomplete="off" qs-name="summary" class="layui-textarea summary"></textarea>
            </div>
        </div>
        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">内容</label>
            <div class="layui-input-block">
                    <textarea required lay-verify="required" placeholder="请输入内容" qs-name="content" id="content"
                              class="content"></textarea>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">是否公开</label>
            <div class="layui-input-block">
                <input type="checkbox" lay-filter="isPublic" lay-skin="switch" lay-text="是|否">
                <input type="hidden" qs-name="isPublic" qs-rely="switch" qs-rely-yes="1">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">是否置顶</label>
            <div class="layui-input-block">
                <input type="checkbox" lay-filter="isTopping" lay-skin="switch" lay-text="是|否">
                <input type="hidden" qs-name="isTopping" qs-rely="switch" qs-rely-yes="1">
            </div>
        </div>
        <div class="qs-btnDiv">
            <a class="layui-btn layui-btn-sm" lay-filter="addArticle" lay-submit class="layui-btn"><i class="layui-icon">&#xe609;</i>提交</a>
        </div>
    </form>
    <script type="text/javascript" src="../../js/layui/layui.js"></script>
    <script type="text/javascript" src="../../js/ueditor/third-party/jquery-1.10.2.min.js"></script>
    <script type="text/javascript" charset="utf-8" src="../../js/ueditor/ueditor.config.js"></script>
    <script type="text/javascript" charset="utf-8" src="../../js/ueditor/ueditor.all.js"></script>
    <script type="text/javascript" src="../../js/public.js"></script>
    <script type="text/javascript" src="../article/articleAdd.js"></script>
</body>
</html>